package lms.entity;

/**
 * @description: 读者类型实体类
 * @author: Grape_Pip
 * @time: 2021/06/21
 */
public class ReaderType {
    /** 读者类型名称   */
    private String rType;
    /** 最大借阅天数   */
    private int limit;

    public ReaderType() {
    }

    public ReaderType(String rType, int limit) {
        this.rType = rType;
        this.limit = limit;

    }

    public String getrType() {
        return rType;
    }

    public void setrType(String rType) {
        this.rType = rType;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }



    @Override
    public String toString() {
        return
                "读者类型：" + rType + "  " +
                "最大借阅天数：" + limit ;
    }
}
